/* ---------------------------------------------------------------------------
** server.h
** 	Declares the Buffer class
**
** Author: Roel Postelmans
** -------------------------------------------------------------------------*/ 
#ifndef BUFFER_H
#define BUFFER_H

#include <thread>
#include <iostream>
#include "package.h"
#include "server.h"

/*!  \class Buffer
 	 \brief De Buffer class houdt statisch het laatst aangekomen pakket bij
*/

class Buffer {
   static Package package;
  public:
   void set_package(Udp_package udp_package,int nr);
   static Package get_package();
};

#endif
